package org.yanghaokun.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.yanghaokun.basic.domain.BaseDomain;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    //店名
    private String name;
    //电话
    private Integer tel;
    //注册时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime = new Date();
    //地址
    private String address;
    private String logo;
    //状态
    private Integer state = 0;
    private Long admin_id;

    //管理对象店铺管理员
    private Employee admin;
}
